package com.handydata.antifraud.bo.dictinfo;

import java.util.List;
import java.util.ArrayList;
import com.handydata.common.service.AbsResBO;
import com.handydata.common.exception.ExCode;

import lombok.Getter;
import lombok.Setter;

/**
 * 通用字典表,存储各种简单的字典响应BO对象
 * 
 * @author guolong
 * @email jishu@handy-data.cn
 * @date 2019-08-21 15:18:44
 */
 @Getter 
 @Setter
public class DictInfoResBO extends AbsResBO {
	
	/**返回码**/
	private String respCode;
	
    /**返回消息**/
    private String respMsg;
    
	/**返回结果集**/
	private List<DictInfoBeanBO> resultList = new ArrayList<DictInfoBeanBO>();

	/**异常码**/
	public void setExCode(ExCode excode) {
		this.respCode = excode.getErrorCode();
		this.respMsg = excode.getErrorMsg();
	}

}
